package com.example.studywords.bean;

import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;

@Entity(tableName = "translate")
public class TranslateBean {
    @Ignore
    public TranslateBean(String translationContent) {
        this.translationContent = translationContent;
    }

    public TranslateBean() {
    }

    public int getTranslationId() {
        return translationId;
    }

    public void setTranslationId(int translationId) {
        this.translationId = translationId;
    }

    public String getTranslationContent() {
        return translationContent;
    }

    public void setTranslationContent(String translationContent) {
        this.translationContent = translationContent;
    }

    @PrimaryKey(autoGenerate = true)
    private int translationId;
    private String translationContent;

}
